/* vue渲染页面闪烁 */
[v-cloak] {
  display: none !important;
}

html, body {
  width: 100%;
  height: 100%;
}

#app {
  position: static;
  width: 100%;
  height: 100%;
  touch-action: none; // 当你触摸并按住触摸目标时候，禁止或显示系统默认菜单。
  transform: translateZ(0); //强制开启GPU加速渲染
  font-family: "PingFangSC-Regular", -apple-system, BlinkMacSystemFont, "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 24px;
  color: #222;
}

/* 页面全屏 */
.view-full {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 子路由全屏 */
.view-children {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9;
}

/* 清除浮动 */
.clearfix::after {
  display: block;
  content: '';
  clear: both;
}

/* 文本超出省略号 */
.text-ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* 解决子元素margin影响父元素 */
.clearmg::before {
  display: block;
  content: '';
  height: 0.1px;
}

/* 去掉input number 步进符号 */
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

/* 响应式进入屏幕进入767之后使用rem适配 */
@media only screen and (max-width: 767px) {
  html {
    font-size: 26.666666vw !important;
  }

  body {
    font-size: 16px;
  }
}

